package org.lyq.erp.auth.department.pojo;

import java.io.Serializable;
import org.lyq.erp.config.exception.errorbasics.ErrorMessageBasics;
import org.lyq.erp.utils.format.FormatUtils;

public class Department extends ErrorMessageBasics implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private Integer depUuid;
	
	private String depName;
	
	private String depTele;
	
	private Long createtime;
	
	private Long updatetime;
	
	private Integer status;
	
	private String createtimeView;
	
	private String updatetimeView;

	public String getCreatetimeView() {
		return this.createtimeView;
	}

	public void setCreatetimeView(String createtimeView) {
		this.createtimeView = createtimeView;
	}

	public String getUpdatetimeView() {
		return this.updatetimeView;
	}

	public void setUpdatetimeView(String updatetimeView) {
		this.updatetimeView = updatetimeView;
	}

	public Integer getDepUuid() {
		return this.depUuid;
	}

	public void setDepUuid(Integer depUuid) {
		this.depUuid = depUuid;
	}

	public String getDepName() {
		return this.depName;
	}

	public void setDepName(String depName) {
		this.depName = (depName == null) ? null : depName.trim();
	}

	public String getDepTele() {
		return this.depTele;
	}

	public void setDepTele(String depTele) {
		this.depTele = (depTele == null) ? null : depTele.trim();
	}

	public Long getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Long createtime) {
		this.createtime = createtime;
		if (createtime != null) {
			this.createtimeView = FormatUtils.getFormatDate(createtime);
		}
	}

	public Long getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(Long updatetime) {
		this.updatetime = updatetime;
		if (updatetime != null) {
			this.updatetimeView = FormatUtils.getFormatDate(updatetime);
		}
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
